Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hide dashboard reports from Report Generator #1445

Merged
merged 2 commits into from
Sep 10, 2020

Conversation

plessbd
Copy link
Contributor

@plessbd plessbd commented Sep 10, 2020

The dashboard tab reports are special templates that are not meant to have reports generated from them. This hides them from the report generator drop down.

@plessbd plessbd added this to the 9.5.0 milestone Sep 10, 2020
@plessbd plessbd added bug Bugfixes Category:Report Generator Report Generator labels Sep 10, 2020
@plessbd plessbd force-pushed the hide-dashboard-reports branch 3 times, most recently from 97d65ec to 7ad9098 Compare September 10, 2020 11:42
@@ -1034,8 +1034,8 @@ class ReportGenerator {
browser.waitForVisible(this.selectors.myReports.toolbar.downloadAsPdfButton());
browser.click(this.selectors.myReports.toolbar.downloadAsPdfButton());
// Wait for check mark image to appear and disappear.
browser.waitForVisible(this.selectors.checkmarkMask(), 10000);
browser.waitForInvisible(this.selectors.checkmarkMask(), 10000);
browser.waitForVisible(this.selectors.checkmarkMask(), 60000);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Timings on a "fresh" install in my local docker (27.27, 8.11, 6.65, 11.52)

@jpwhite4
Copy link
Member

How have you tested this to confirm that the dashboard reports are still working?

@plessbd
Copy link
Contributor Author

plessbd commented Sep 10, 2020

modifying metrics-dev and logging in as a center director and normal user.
Dashboard still shows reports, download functionality works from there. Dashboard Tab Report does not show on report generator

and of course in the docker
logging in as a new center staff adds autogenerated-cs report, the report shows up in the report generator, editing said report can both add and remove charts from the dashboard tab.

@plessbd plessbd merged commit 8648bec into ubccr:xdmod9.5 Sep 10, 2020
@plessbd plessbd deleted the hide-dashboard-reports branch September 10, 2020 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bugfixes Category:Report Generator Report Generator
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants